x86/boot: Check for E820_RAM earlier when searching the E820
authorAndrew Cooper <andrew.cooper3@citrix.com>
Sat, 28 Dec 2019 14:41:11 +0000 (14:41 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 8 Jan 2020 18:47:51 +0000 (18:47 +0000)
commitaefb07395ff4b320ee245b5995496c8d396fce99
tree527b4d8168073cc55fdcadce9cc066f133f7b519
parent022b26f14595e706a5dd8ffc95e9c36bf48aef0f
x86/boot: Check for E820_RAM earlier when searching the E820

There is no point performing the masking calculations if we are going to
throw the result away.

No functional change.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/setup.c